;(function($){
	var action = function(){

		var wrapper;
		var loadEvent = function(){
			wrapper.hover(function(){
				$(this).stop(true,false).animate({"height":"300px"},2000,function(){
					wrapper.css({"background-color":"green","color":"white"});
				}).animate({"width":"300px"},2000);
				
			},function(){
				$(this).stop(true,false).animate({"height":"40px"},2000);
			});
		}
		return {
			init:function(){

				wrapper=$(".wrapper");
				loadEvent();

			}
		}
	}();
	action.init();
})(jQuery);
